package com.gipson.amc.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import java.io.Serializable;

/**
 * <p>
 * 用户和岗位关联表
 * </p>
 *
 * @author cjw
 * @since 2020-05-21
 */
@Data
@Accessors(chain = true)
@TableName("SYS_USER_POST_GROUP")
public class UserPostGroup implements Serializable {
	
	private static final long serialVersionUID = 1L;
	
	@TableId("USER_ID")
	private String userId;
	
	@TableField("POST_GROUP_ID")
	private String postGroupId;

	/**
	 * 用户名
	 */
	@TableField(exist = false)
	private String username;

	/**
	 * 姓名
	 */
	@TableField(exist = false)
	private String name;

	/**
	 * 工号
	 */
	@TableField(exist = false)
	private String userCode;
	
	
}
